How can I correctly format a specific datetime string in Python for comparison

welcome to shbcf.ru